package org.darkforest.dao.mapper;

import org.darkforest.dao.annotation.DBMapper;
import org.darkforest.model.Relation;
import org.darkforest.model.TagRelationRelation;

import java.util.List;

@DBMapper
public interface TagRelationRelationMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TagRelationRelation record);

    int insertSelective(TagRelationRelation record);

    TagRelationRelation selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TagRelationRelation record);

    int updateByPrimaryKey(TagRelationRelation record);

    int deleteByCondition(TagRelationRelation tagRelationRelation);

    List<Relation> selectByTagId(Integer tagId);
}